dom.setAttributeWithErrorChecking()

Availability 3.0
Description Sets the specified attribute to the specified value for the current selection, prompting the user if the value is of the wrong type, or if it is out of range. This function is valid only for the active document.
Arguments attribute, value
Returns Nothing.
Enabler None.